;Check incase someone is cheating

[@main]
#IF
checknamelist Level50Quest/Variables/challange2.1.txt
#ACT
goto @main1

#ELSEACT
mapmove 0 302 254

[@move]
#ACT
map 0 302 254
close

[@spawnwaiting]
Please kill all the monsters in the room before \
i can let you advance, this includes pets!\
<exit/@exit>

;;Menu, checks where you are

[@main1]
#IF
checknamelist Level50Quest/Variables/challange2.7.txt
#ACT
goto @sixthspawn
break

#IF
checknamelist Level50Quest/Variables/challange2.6.txt
#ACT
goto @fifthspawn
break

#IF
checknamelist Level50Quest/Variables/challange2.5.txt
#ACT
goto @fourthspawn
break

#IF
checknamelist Level50Quest/Variables/challange2.4.txt
#ACT
goto @thirdspawn
break

#IF
checknamelist Level50Quest/Variables/challange2.3.txt
#ACT
goto @secondspawn
break

#IF
checknamelist Level50Quest/Variables/challange2.2.txt
#ACT
goto @firstspawn
break

#ELSEACT
goto @main1.1


;; First menu

[@main1.1]
<Challange 2>\  \
Welcome, are you ready for the first wave?\  \
<Yes, bring it!/@main2> -- <No Thanks/@move>

[@main2]
#ACT
addnamelist Level50Quest/Variables/challange2.2.txt
Param1 Q001
Param2 10
Param3 10
MonGen WoomaFighter 20 10
close

[@firstspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
goto @menu2

;; Second Menu

[@menu2]
<First spawn complete!>\  \
Well done on finishing the first spawn batch, that was \
not very hard but still, its a way of me testing out our\
new system that i had devised, YADO let me tweak his old\
system! Anyways, ready for part 2?\
<Begin spawn 2/@menu2.1> -- <Exit/@exit>

[@menu2.1]
#ACT
delnamelist Level50Quest/Variables/challange2.2.txt
addnamelist Level50Quest/Variables/challange2.3.txt
Param1 Q001
Param2 10
Param3 10
MonGen Dark 20 10
close

[@secondspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
goto @menu3

;; Third Menu

[@menu3]
<Second spawn complete!>\  \
Well this one now is the first boss, its a virtual system\
if you die, respawn but you have to start all over again!\
<Begin spawn 3/@menu3.1> -- <exit/@exit>

[@menu3.1]
#ACT
delnamelist Level50Quest/Variables/challange2.3.txt
addnamelist Level50Quest/Variables/challange2.4.txt
Param1 Q001
Param2 10
Param3 10
MonGen EvilTongs 2 1
MonGen Tongs 20 1
close

[@thirdspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
goto @menu4

;; Fourth Menu

[@menu4]
<Third spawn complete!>\  \
Now this is when it gets tough, this is not for anyone\
who actually does not have pot, skill or intelligence!\
Best of luck!\
<Begin spawn 4/@menu4.1> -- <exit/@exit>

[@menu4.1]
#ACT
delnamelist Level50Quest/Variables/challange2.4.txt
addnamelist Level50Quest/Variables/challange2.5.txt
Param1 Q001
Param2 10
Param3 10
MonGen WhiteEvilBoar 4 1
MonGen EvilSnake 1 1
MonGen EvilSnake1 5 1
close

[@fourthspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
goto @menu5

;; fifth

[@menu5]
<Third spawn complete!>\  \
WOW! That was simply amazing, I MEAN AMAZING! I gave you\
some bundles to help you on the next bout so, are you ready?\
<Begin spawn 5/@menu5.1> -- <exit/@exit>

[@menu5.1]
#ACT
give (HP)XLBundl 5
give (MP)XLBundl 5
delnamelist Level50Quest/Variables/challange2.5.txt
addnamelist Level50Quest/Variables/challange2.6.txt
Param1 Q001
Param2 10
Param3 10
MonGen IncarnatedWT 1 1
MonGen WoomaGuardian 1 1
MonGen Ghoul1 1 1
close

[@fifthspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
goto @menu6

;; Sixth

[@menu6]
<Third spawn complete!>\  \
Man i sure would pay to see that! Here is you're final\
bout, infact its my PET! His name is Hang, but anyways\
you may recognize him as something else, you're hp will\
go down but its nothing personal!! He is very friendly\
really!\
<Begin Final spawn!/@menu6.1> -- <exit/@exit>

[@menu6.1]
#ACT
give OldGinseng 20
delnamelist Level50Quest/Variables/challange2.6.txt
addnamelist Level50Quest/Variables/challange2.7.txt
Param1 Q001
Param2 10
Param3 10
MonGen OmaSpiritKing 1 1
close

[@sixthspawn]
#IF
checkmonmap Q001 1
#ACT
goto @spawnwaiting
#ELSEACT
give OldGinseng 20
goto @completed

;; Completed

[@completed]
#ACT
addnamelist Level50Quest/Variables/challange2.8.txt
mapmove fox01 120 20
sendmsg 6 "Completed the challanger! You kicked butt!